home *** CD-ROM | disk | FTP | other *** search
- on(press){
- var buttonnum = parseInt(this._name.substr("buyitem_".length));
- var message;
- message = "" + _root.willbuy_str + " " + _root.item_text[buttonnum] + "\n";
- message += "" + _root.willcost_str + " " + _root.item_cost[buttonnum] + " " + _root.gems_str + "\n";
- _root.confirm_action("buy",buttonnum,message);
- }
-